#ifndef CAR_H
#define CAR_H

#include <string>
#include "gpskoordinaten.h"



/**
  * class Car
  *
  */

class Car
{
public:

  // Constructors/Destructors
  //


  /**
   * Empty Constructor
   */
  Car ( );

  /**
   * Empty Destructor
   */
  virtual ~Car ( );

private:

  // Static Private attributes
  //

  // Private attributes
  //

  int speed;
  GpsKoordinaten position;
  int panne;
  int id;

public:
  // Private attribute accessor methods
  //


  /**
   * Set the value of speed
   * @param new_var the new value of speed
   */
  void setSpeed ( int new_var )   {
      speed = new_var;
  }

  /**
   * Get the value of speed
   * @return the value of speed
   */
  int getSpeed ( )   {
    return speed;
  }

  /**
   * Set the value of position
   * @param new_var the new value of position
   */
  void setPosition ( GpsKoordinaten new_var )   {
      position = new_var;
  }

  /**
   * Get the value of position
   * @return the value of position
   */
  GpsKoordinaten getPosition ( )   {
    return position;
  }

  /**
   * Set the value of panne
   * @param new_var the new value of panne
   */
  void setPanne ( int new_var )   {
      panne = new_var;
  }

  /**
   * Get the value of panne
   * @return the value of panne
   */
  int getPanne ( )   {
    return panne;
  }

  /**
   * Set the value of id
   * @param new_var the new value of id
   */
  void setId ( int new_var )   {
      id = new_var;
  }

  /**
   * Get the value of id
   * @return the value of id
   */
  int getId ( )   {
    return id;
  }

  void setPosition(int spur,
                   int weite);
  int getSpur();
  int getWeite();
};

#endif // CAR_H
